﻿/*******************************************************************************
 * AAEngine
 * Copyright (c) 2010 Mike Jarosch
 *
 * Original source PushButton Engine:
 * Copyright (C) 2009 PushButton Labs, LLC
 * For more information see http://www.pushbuttonengine.com
 *
 * This file is licensed under the terms of the MIT license, which is included
 * in the "MIT License.txt" file at the root directory of this SDK.
 ******************************************************************************/

using System;

namespace AAEngine.Engine.Core
{
    /// <summary>
    /// Helper class for internal use by ProcessManager. This is used to      
    /// track scheduled callbacks from Schedule().
    /// </summary>
    internal class ScheduleObject : IPrioritizable
    {
        public double DueTime = 0.0;
        public Action Callback = null;

        public int Priority
        {
            get { return (int)-DueTime; }
            set { throw new NotImplementedException(); }
        }
    }
}
